<?php use_helper('I18N') ?>
          <div>
              <form action="<?php echo url_for('@sf_guard_signin') ?>" method="post">
                <?php echo $form["username"]->renderError(); ?>
                <table class="login_form" style="width: 100%">
                  <tbody>
                    <tr>
                      <th style="width: 170px;"><?php echo $form["username"]->renderLabel("Nombre de Usuario o Email") ?></th>
                      <td><?php echo $form["username"]->render(array("class"=>"full")) ?></td>
                    </tr>
                    <tr>
                      <th><?php echo $form["password"]->renderLabel("Clave Personal") ?></th>
                      <td><?php echo $form["password"]->render(array("class"=>"full")) ?></td>
                    </tr>
                    <tr>
                      <th></th>
                      <td><?php echo $form["remember"]->render().$form["remember"]->renderLabel() ?></td>
                    </tr>
                    <?php echo $form->renderHiddenFields();?> 
                  </tbody>
                  <tfoot>
                    <tr>
                      <td colspan="2">
                        <input type="submit" value="<?php echo __('Signin', null, 'sf_guard') ?>" />

                        <?php $routes = $sf_context->getRouting()->getRoutes() ?>
                        <?php if (isset($routes['sf_guard_forgot_password'])): ?>
                          <a href="<?php echo url_for('@sf_guard_forgot_password') ?>"><?php echo __('Forgot your password?', null, 'sf_guard') ?></a>
                        <?php endif; ?>

                        <?php if (isset($routes['sf_guard_register'])): ?>
                          &nbsp; <a href="<?php echo url_for('@sf_guard_register') ?>"><?php echo __('Want to register?', null, 'sf_guard') ?></a>
                        <?php endif; ?>
                      </td>
                    </tr>
                  </tfoot>
                </table>
              </form>
          </div>
